﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace EGEHaina.Areas.Finance.Models
{
    public class Finance
    {
        public int FinanceId { get; set; }
        
        [Required]
        public string Requester { get; set; }

        [Required]
        [DataType(DataType.Date)]
        public DateTime RequestDate { get; set; }

        //[Required]
        //public int CompanyId { get; set; }
        //public virtual Company Company { get; set; }

        [Required]
        [DataType(DataType.Date)]
        public DateTime ExecutionDate { get; set; }

        [Required]
        public string ContractName { get; set; }
    }
}